<div class="payment_top">
    <a href="javascript:history.go(-1)"><img class="backImg" src="images/leftarrow.png"></a>
    <span>消息处理</span>

    <div class="backImg_right" style="display: block;line-height: 30px; font-size: 16px;" ng-click="vm.history()">历史记录</div>
</div>
<div class="usermember_center">

    <div class="tablehome_item">
        <div ng-show="vm.allNewsList.length==0" style="width: 100%;text-align: center; margin-top: 120px;">
            <img src="images/notnews.png" style="width: 60%;height: 100%;">
        </div>
        <div class="news-group-body">
            <div style="height: auto" class="news-group-hurry" ng-hide="vm.allNewsList.length==0">
                <span class="news-span" ng-repeat="news in vm.allNewsList" >
                      <div class="currency-width-two">
                          <img ng-hide="news.hurry" class="img-height" ng-src="{{news.urgent?'images/haste.png':'images/call.png'}}">
                          <img ng-show="news.hurry" class="img-height" ng-src="{{news.urgent?'images/haste.png':'images/call.png'}}">
                      </div>
                    <div class="currency-float currency-width">
                        <div class="news-table" style="width: 45%">
                            <div class="news-table-name" data-ng-init="vm.getTableName(news)">{{news.tablename}}</div>
                            <div class="new-table-status">
                                <span class="news-span-low" ng-hide="news.callcontent=='低电量'
">{{news.callcontent | ele_Filter}}</span>
                                <span class="news-span-low" ng-if="news.lowelectricity==0">{{news.lowelectricity | ele_statusFilter}}</span>
                            </div>
                        </div>
                        <div class="news-table currency-float news-table img-height" style="font-size: 0" >
                            <div class="news-table-time currency-display currency-center" style="display: flex; color: #a7a7a7">{{news.time}}</div>
                            <button ng-class="{'news-color': news.urgent}" class=" new-table-meaaage currency-display" ng-click="vm.firmNews(vm.allNewsList,news)" ng-hide="news.callcontent=='结账'">知道</button>
                            <button ng-class="{'news-color': news.urgent}" class=" new-table-meaaage currency-display" ng-click="vm.openPay(vm.allNewsList,news)" ng-show="news.callcontent=='结账'">买单</button>
                        </div>
                    </div>
                </span>
            </div>
        </div>
    </div>
</div>
<div class="modal fade" id="openHistroy" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-news-body" style="background: #FFFFFF">
        <div class="modal-content modal-news-content" style="box-shadow: none;-webkit-box-shadow: none">
            <ul class="news-ul">
                <li class="news-group-hurry news-body" style="height: auto" ng-repeat="unlist in vm.unHandleList">
                     <span class="news-span">
                      <div class="currency-width-two">
                          <img class="img-height" src="images/call.png"/>
                      </div>
                    <div class="currency-float currency-width">
                        <div class="news-table"  style="width: 45%">
                            <div class="news-table-name" data-ng-init="vm.getTableName(unlist)">{{unlist.tablename}}</div>
                            <div class="new-table-status" >{{unlist.callcontent}}</div>
                        </div>
                        <div class="news-table currency-float news-table img-height" style="font-size: 0" >
                            <div class="news-table-time currency-display currency-center" style="display: flex; color: #a7a7a7;width: 40%" >{{unlist.time}}</div>
                            <button class="new-table-meaaage currency-display"style=";background: #BEBEBF;width: 60%;padding: 0px">已处理</button>
                        </div>

                    </div>
                </span>
                </li>
                <div class="field-load" ng-show=" vm.flat0">
                    <div ng-show=" vm.load0" class="field-load-loading">
                        正在努力加载中...
                    </div>
                    <div ng-hide=" vm.load0" class="field-load-finish">
                        没有更多消息了
                    </div>
                </div>
            </ul>
        </div>
    </div>
</div>
<alert-tip alert-visible="vm.alertVisible" data="vm.alertData" input-message="vm.text"></alert-tip>
<message-Component message-visible="vm.messageVisible" message="vm.message"  surebtn="vm.sureBtn()"
                   cancelbtn="vm.cancelBtn()"></message-Component>